package com.fong.spring_cloud_producer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 服务提供者启动类
 * @author fong
 *
 */
@SpringBootApplication // 标注spring boot 应用
@EnableDiscoveryClient // 标注为一个服务提供者/消费者，将会到服务注册中心/发现服务
public class SpringCloudProducerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudProducerApplication.class, args);
	}
}
